<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/5/15
  Time: 21:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- 引入bootstrap 样式文件 -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
    <!-- 引入字体图标样式 -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/font-awesome.min.css">
    <!-- 引入我们自己的首页样式文件 -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css">
    <script src="${pageContext.request.contextPath}/bootstrap/js/jquery.min.js"></script>
    <!-- <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script> -->
    <script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>

</head>
<body>
<div id="one">
    <div class="trend-skill  mb-8">
        <div class="container w-100">
            <div class="row">
<c:forEach items="${pageResult1.rows}" var="nature1">
    <c:if test="${getid == nature1.id}">
                <div class="card" style="width: 30rem;">
                    <img class="card-img-top" src="${pageContext.request.contextPath}${getsrc}" alt="Card image cap">
                    <div class="card-body">
                         id:${nature1.id}<br/>
                         名称:${nature1.name}<br/>
                         isba号:${nature1.isbn}<br/>
                         出版社:${nature1.press}<br/>
                         作者:${nature1.author}<br/>
                         价格:${nature1.price}<br/>
                        上架时间:${nature1.uploadTime}<br/>

                       <input type="button" onclick="begin();" style="background-color: #00c0ef" value="点击返回" width="80px" height="40px">

                  </div>
                </div>
    </c:if>
</c:forEach>




            </div>
        </div>
    </div>
</div>


<script>
    function  begin()
    {
        history.go(-1);
    }
</script>
</body>
</html>
